package cn.itlaobing.model2;

import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CarInstance {
	public static void main(String[] args) {
		String s="classpath:cn/**/Instance.xml";
		AbstractApplicationContext containter=new ClassPathXmlApplicationContext(s);
		Car c=containter.getBean("car", Car.class);
		System.out.println(c.toString());
	}
}
